xend: hot-plug PCI devices at boot-time
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 29 May 2009 08:32:02 +0000 (09:32 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 29 May 2009 08:32:02 +0000 (09:32 +0100)
commit9c0aebdd02e7624d9d5edfea320d8854f67b95b2
treed137fffbd0c0f4613580d9e274b94bb8dc2ec91b
parent1e03bc6f026ea388a5dedf64384c198e19ad882f
xend: hot-plug PCI devices at boot-time

Currently there are two interfaces to pass-through PCI devices:
1. A method driven through per-device xenstore entries that is used at
boot-time
2. An event-based method used for hot-plug.

This seems somewhat redundant and makes extending the code cumbersome
and prone to error - often the change needs to be made twice, in
two different ways.

This patch unifies PCI pass-through by using the existing event-based
method at boot-time.

Signed-off-by: Simon Horman <horms@verge.net.au>
tools/python/xen/xend/XendConfig.py
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/image.py
tools/python/xen/xend/server/pciif.py